package lee.vioson.remotedata.config

import lee.vioson.repository.BuildConfig

/**
 * Created by Wisn on 2018/5/22 下午1:29.
 */
object HttpConfig {
    val isDebug = BuildConfig.DEBUG

    //网络缓存地址
    var URL_CACHE: String? = null
    const val HttpLogTAG = "HTTP_LOG"

    //缓存最大的内存,默认为10M
    const val MAX_MEMORY_SIZE = (10 * 1024 * 1024).toLong()

    //SharePreference的配置文件名
    const val USER_CONFIG = "lyf_preference"

    //链接超时时间 10s
    const val connectTimeout: Long = 300

    //读取超时时间 10s
    const val readTimeout: Long = 300

    //写超时时间 10s
    const val writeTimeout: Long = 300
}